package com.yl.auth.mapper;

import com.yl.auth.model.entity.Quanxian;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yl.auth.model.vo.QuanxianVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ln
 * @since 2023-06-29
 */
public interface QuanxianMapper extends BaseMapper<Quanxian> {

    @Select("SELECT * from quanxian where pid = #{id}")
    List<QuanxianVo> gitQuanXianList(@Param("id")Long id);
}
